package com.hospital.phyexam.dao;

import com.hospital.phyexam.entity.Phyexam;
import com.hospital.phyexam.entity.PhyexamExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PhyexamMapper {
    long countByExample(PhyexamExample example);

    int deleteByExample(PhyexamExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Phyexam record);

    int insertSelective(Phyexam record);

    List<Phyexam> selectByExample(PhyexamExample example);

    Phyexam selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Phyexam record, @Param("example") PhyexamExample example);

    int updateByExample(@Param("record") Phyexam record, @Param("example") PhyexamExample example);

    int updateByPrimaryKeySelective(Phyexam record);

    int updateByPrimaryKey(Phyexam record);
    List<Phyexam> selectAll();
    List<Phyexam> selectByStuId(int id);
    List<Phyexam>selectByBatchId(int id);
}